body{
    background-color: #000000;
    overflow-x: hidden;
    width: 100%;
    height: 100vh;
}
.haikei:before{
    content: "";
    display: block;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background-image: url(../Pictures/Background/Background-1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.vertical{
    animation-name:fadeInAnime;
    animation-duration:2s;
    animation-fill-mode:forwards;
    opacity:0;
    scrollbar-width: none;
    width: 100%;
    min-height: 100vh;
}
header{
    padding-top: 1vh;
    margin-left: 0.4rem;
    margin-bottom: 5vh;
}
a{
    color: #fff;
    display: inline-block;
    text-decoration-thickness: 1px;
    transition: .3s;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a:hover{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.logo_pc{
    display: none;
}
.logo_sp{
    filter: drop-shadow(5px 5px 7px #000);
    display: block;
    width: 11rem;
    height: auto;
}
.subtitle{
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}
h1{
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.6rem,4vw,5rem);
    font-weight: normal;
    letter-spacing: 0.7vw;
    text-shadow: 5px 5px 7px #000000;
}
/*
.cp_h1title {
	position: relative;
	display: inline-block;
	padding: 0 17%;
}
.cp_h1title:before, .cp_h1title:after {
	content: '';
	position: absolute;
	top: 50%;
	display: inline-block;
	width: 20%;
	height: 1px;
	background-color: #ffffff;
}
.cp_h1title:before {
	left:0;
	background: linear-gradient(-45deg, transparent, #ffffff 10%, #ffffff 30%, transparent);
}
.cp_h1title:after {
	right: 0;
	background: linear-gradient(-45deg, transparent, #ffffff 70%, #ffffff 90%, transparent);
}

a:after{
    content: "";
	display: block;
	height: 1px;
	background: linear-gradient(to right, #ffffff, transparent);
}
*/
.menu{
    margin: auto;
    text-align: center;
    width: 80%;
}
p{
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem,2.2vw,3rem);
    margin-bottom: 2rem;
    text-shadow: 5px 5px 7px #000000;
}
rt{
    font-size: 1.4vw;
}

.back{
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem,2.2vw,3rem);
    letter-spacing: 0.5vw;
    text-align: center;
    margin-top: 3rem;
    min-height: 10vh;
    text-shadow: 5px 5px 7px #000000;
}
small{
    color: #fff;
    left: 0;
    bottom: 0;
    text-shadow: 5px 5px 7px #000000;
    font-size: 1.5vw;
}
@keyframes fadeInAnime{
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
}  


/*PC用*/
@media screen and (min-width:1024px)  {
    body{
        background-color: #000000;
        overflow: hidden;
        width: 100%;
        height: 100vh;
    }
    .vertical{
        animation-name:fadeInAnime;
        animation-duration:2s;
        animation-fill-mode:forwards;
        opacity:0;
        display: flex;
        -webkit-flex-direction: row-reverse;
        flex-direction: row-reverse;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
        width: 100%;
        min-height: 100vh;
    }
    header{
        padding: unset;
        margin-top: 7.5vh;
        margin-left: unset;
        margin-right: 5vw;
        margin-bottom: unset;
        width: unset;
    }
    a{
        text-decoration: none;
        display: inline-block;
        transition: .3s;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    a:hover{
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
    .logo_pc{
        filter: drop-shadow(5px 5px 7px #000);
        display: block;
        width: 6rem;
        height: auto;
    }
    .logo_sp{
        display: none;
    }
    .subtitle{
        text-align: left;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin-right: 4.5vw;
        margin-top: 15vh;
        min-height: 70vh;
        width: initial;
    }
    h1{
        font-size: 2.5rem;
        letter-spacing: 0.7vw;
    }
    .menu{
        text-align: left;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin: initial;
        margin-top: 11vh;
        margin-right: 4vw;
        min-height: 80vh;
        width: initial;
    }
    p{
        font-size: 1.0rem;
        letter-spacing: 0.1vw;
        margin-left: 3vw;
        margin-bottom: 0;
    }
    .b_b{
        display: none;
    }
    .under-ruby{
        display: inline-block;
        margin-top: -0.3rem;
        margin-bottom: -0.5rem;
    }
    rt{
        font-size:0.5rem;
    }
    .tooltip {
      position: relative;
      top: 10px;
      transition: 0.8s;
      opacity: 0;
    }
    a:hover .tooltip {
      opacity: 1;
    }
    .back{
        font-size: 1.0rem;
        letter-spacing: 0.5vw;
        margin-bottom: 4.5rem;
        margin-right: auto;
        margin-left: 6vw;
        text-align: right;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        min-height: 80vh;
    }
    small{
        position: absolute;
        left: 0;
        bottom: 0;
        font-size: 0.8rem;
    }
    @keyframes fadeInAnime{
        from {
          opacity: 0;
        }
      
        to {
          opacity: 1;
        }
    }  
}
